home *** CD-ROM | disk | FTP | other *** search
Wrap
mmmmqqqq____ggggeeeettttaaaattttttttrrrr((((3333cccc)))) mmmmqqqq____ggggeeeettttaaaattttttttrrrr((((3333cccc)))) NNNNAAAAMMMMEEEE _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr - get attributes of a message queue CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_mmmm_qqqq_uuuu_eeee_uuuu_eeee_...._hhhh_>>>> _iiii_nnnn_tttt _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr _((((_mmmm_qqqq_dddd______tttt _m_q_d_,,,, _ssss_tttt_rrrr_uuuu_cccc_tttt _mmmm_qqqq______aaaa_tttt_tttt_rrrr _****_m_q_s_t_a_t_))))_;;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr saves the attributes and status information of the message queue named by _m_q_d into the _m_q__a_t_t_r structure at address _m_q_s_t_a_t. The following fields of the _m_q__a_t_t_r structure are updated after a successful call to _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr: _llll_oooo_nnnn_gggg _mmmm_qqqq______ffff_llll_aaaa_gggg_ssss_;;;; _////_**** _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee _qqqq_uuuu_eeee_uuuu_eeee _ffff_llll_aaaa_gggg_ssss _****_//// _llll_oooo_nnnn_gggg _mmmm_qqqq______mmmm_aaaa_xxxx_mmmm_ssss_gggg_;;;; _////_**** _mmmm_aaaa_xxxx_iiii_mmmm_uuuu_mmmm _nnnn_uuuu_mmmm_bbbb_eeee_rrrr _oooo_ffff _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee_ssss _****_//// _llll_oooo_nnnn_gggg _mmmm_qqqq______mmmm_ssss_gggg_ssss_iiii_zzzz_eeee_;;;; _////_**** _mmmm_aaaa_xxxx_iiii_mmmm_uuuu_mmmm _ssss_iiii_zzzz_eeee _oooo_ffff _aaaa _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee_****_//// _llll_oooo_nnnn_gggg _mmmm_qqqq______cccc_uuuu_rrrr_mmmm_ssss_gggg_ssss_;;;; _////_**** _nnnn_uuuu_mmmm_bbbb_eeee_rrrr _oooo_ffff _mmmm_eeee_ssss_ssss_aaaa_gggg_eeee_ssss _cccc_uuuu_rrrr_rrrr_eeee_nnnn_tttt_llll_yyyy _oooo_nnnn _qqqq_uuuu_eeee_uuuu_eeee _****_//// The fields have the following meanings: _mmmm_qqqq______ffff_llll_aaaa_gggg_ssss The set of flags which may be applied to the message queue on a queue descriptor _m_q_d basis, rather than to the queue itself. The following flags are supported: _OOOO______NNNN_OOOO_NNNN_BBBB_LLLL_OOOO_CCCC_KKKK If set, _mmmm_qqqq______ssss_eeee_nnnn_dddd and _mmmm_qqqq______rrrr_eeee_cccc_eeee_iiii_vvvv_eeee operations on the queue named by _m_q_d will not block when the queue is full or empty, respectively. _mmmm_qqqq______mmmm_aaaa_xxxx_mmmm_ssss_gggg The maximum number of messages that can be queued at any one time. _mmmm_qqqq______ssss_eeee_nnnn_dddd will fail, if O_NONBLOCK flag is set, or block after this many messages are queued. This attribute of the queue can be set only at time of queue creation. _mmmm_qqqq______mmmm_ssss_gggg_ssss_iiii_zzzz_eeee The maximum size of a message that can be sent to or received from the queue. This attribute of the queue can be set only at the time of queue creation. _mmmm_qqqq______cccc_uuuu_rrrr_mmmm_ssss_gggg_ssss The number of messages currently on the message queue. This attribute can only be queried and cannot be explicitly set. _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr will fail if one or more of the following conditions are true: [EBADF] The message queue descriptor, _m_q_d, is not valid. [EINTR] A signal interrupted the _mmmm_qqqq______gggg_eeee_tttt_aaaa_tttt_tttt_rrrr function call. PPPPaaaaggggeeee 1111 mmmmqqqq____ggggeeeettttaaaattttttttrrrr((((3333cccc)))) mmmmqqqq____ggggeeeettttaaaattttttttrrrr((((3333cccc)))) SEE ALSO _mmmm_qqqq______oooo_pppp_eeee_nnnn(3c), _iiii_nnnn_tttt_rrrr_oooo(3c), _mmmm_qqqq______uuuu_nnnn_llll_iiii_nnnn_kkkk(3c), _mmmm_qqqq______rrrr_eeee_cccc_eeee_iiii_vvvv_eeee(3c), _mmmm_qqqq______ssss_eeee_nnnn_dddd(3c), _mmmm_qqqq______ssss_eeee_tttt_aaaa_tttt_tttt_rrrr(3c), _mmmm_qqqq______nnnn_oooo_tttt_iiii_ffff_yyyy(3c) DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS Upon successful completion, a value of 0 is returned and the attributes of the queue are written into the _m_q__a_t_t_r structure pointed to by _m_q_s_t_a_t. Otherwise, a value of -1 is returned and _eeee_rrrr_rrrr_nnnn_oooo is set to indicate the error. PPPPaaaaggggeeee 2222